package com.sfac.cqlg.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Test Controller
 */
@RestController
@RequestMapping("/api")
public class TestController {

    /**
     * http://127.0.0.1:8080/api/helloworld ---- get
     */
    @GetMapping(value = "/helloworld")
    public String helloWorld() {
        return "Hello World!";
    }
}
